﻿using System;
using TheGameClient.Processes;


namespace TheGameClient
{
	public class ProgramLogDeleter : ProgramBase
	{
		public override ulong InterfaceId { get { return new Guid("2725758F-17DF-41DC-847D-FD80BA4AF95B").ToLong(); } }
		public override string ProcessName { get { return "Log deleter"; } }
		protected override bool OnlyLocal { get { return false; } }
		protected override string DropErrorStatus { get { return "Invalid log entry selected."; } }
		protected override string SuccessStatus { get { return "Log deleted."; }}
		protected override string FailureStatus { get { return "Delete failed."; }}

		public override void Initialize()
		{
			Control.StatusText = "Drag onto file to be compressed.";
			base.Initialize();
		}
	}

	public class ProgramLogDeleterFactory : UiFactoryBase
	{
		public override InterfaceCategory UiCategory
		{
			get { return InterfaceCategory.Program; }
		}

		public override IProcess CreateProgram()
		{
			return new ProgramLogDeleter();
		}
	}
}